<link href="<?php echo $this->_var['siteinfo']['tempdir']; ?>images/index.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
BODY {
	SCROLLBAR-FACE-COLOR: #dce0e2; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; SCROLLBAR-SHADOW-COLOR: #687888; COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: #687888; SCROLLBAR-ARROW-COLOR: #6e7e88; SCROLLBAR-TRACK-COLOR: #bcbfc0; SCROLLBAR-DARKSHADOW-COLOR: #dce0e2; margin:0; padding:0; background:#fff;background:url(<?php echo $this->_var['siteinfo']['tempdir']; ?>images/index_bg.gif);
}
-->
</style>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="250" align="center"><br />
      <!--<?php if ($this->_var['msg_type'] == 0): ?>-->
        恭喜:
        <!--<?php elseif ($this->_var['msg_type'] == 1): ?>-->  
        错误:
         <!-- <?php else: ?>-->
        警告:
        <!-- <?php endif; ?> -->  
    <?php echo $this->_var['msg_detail']; ?><br>
    
    页面将在<span id='spanSeconds'>3</span>秒后返回上一页！<br>
 <!--  <?php $_from = $this->_var['links']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'link');if (count($_from)):
    foreach ($_from AS $this->_var['link']):
?>-->
    <a href="<?php echo $this->_var['link']['href']; ?>" ><?php echo $this->_var['link']['text']; ?></a>
  <!--  <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>-->
            
            
<br />
      <br />
  <input type="hidden" value="<?php if ($this->_var['auto_redirect']): ?><?php echo $this->_var['lang']['auto_redirection']; ?><?php endif; ?>" id="redirectionMsg" name="redirectionMsg" />
  <img src="<?php echo $this->_var['siteinfo']['tempdir']; ?>images/loding.gif" width="190" height="14" /></td>
  </tr>
</table>
<!--<?php if ($this->_var['auto_redirect']): ?>-->
<script language="JavaScript">
<!--
var seconds = 3;
var defaultUrl = "<?php echo $this->_var['default_url']; ?>";


onload = function()
{
  if (defaultUrl == 'javascript:history.go(-1)' && window.history.length == 0)
  {
    document.getElementById('redirectionMsg').innerHTML = '';
    return;
  }

  window.setInterval(redirection, 1000);
}
function redirection()
{
  if (seconds <= 0)
  {
    window.history.go(-1);
    return;
  }

  seconds --;
  document.getElementById('spanSeconds').innerHTML = seconds;

  if (seconds == 0)
  {
    window.clearInterval();
    location.href = defaultUrl;
  }
}
//-->
</script>

<!--<?php endif; ?>-->
